using System;
using System.ComponentModel.DataAnnotations.Schema;

namespace LeaRun.Application.Entity.SystemManage
{
	public class ExcelImportFiledEntity : BaseEntity
	{
		[Column("F_ID")]
		public string F_Id
		{
			get;
			set;
		}
		[Column("F_IMPORTTEMPLATEID")]
		public string F_ImportTemplateId
		{
			get;
			set;
		}
		[Column("F_FLIEDNAME")]
		public string F_FliedName
		{
			get;
			set;
		}
		[Column("F_FILEDTYPE")]
		public string F_FiledType
		{
			get;
			set;
		}
		[Column("F_COLNAME")]
		public string F_ColName
		{
			get;
			set;
		}
		[Column("F_ONLYONE")]
		public int? F_OnlyOne
		{
			get;
			set;
		}
		[Column("F_RELATIONTYPE")]
		public int? F_RelationType
		{
			get;
			set;
		}
		[Column("F_DATAITEMENCODE")]
		public string F_DataItemEncode
		{
			get;
			set;
		}
		[Column("F_VALUE")]
		public string F_Value
		{
			get;
			set;
		}
		[Column("F_DBID")]
		public string F_DbId
		{
			get;
			set;
		}
		[Column("F_DBTABLE")]
		public string F_DbTable
		{
			get;
			set;
		}
		[Column("F_DBSAVEFLIED")]
		public string F_DbSaveFlied
		{
			get;
			set;
		}
		[Column("F_DBRELATIONFLIED")]
		public string F_DbRelationFlied
		{
			get;
			set;
		}
		[Column("F_SORTCODE")]
		public int? F_SortCode
		{
			get;
			set;
		}
		public override void Create()
		{
			this.F_Id = Guid.NewGuid().ToString();
		}
		public override void Modify(string keyValue)
		{
			this.F_Id = keyValue;
		}
	}
}
